<template>
  <van-tabbar-item :icon="bar_icon" :to="bar_url"><slot></slot></van-tabbar-item>
<!--    <van-tabbar-item :icon="home_icon" :to="home_url"><slot name="home"></slot></van-tabbar-item>-->
<!--    <van-tabbar-item :icon="cate_icon" :to="cate_url"><slot name="cate"></slot></van-tabbar-item>-->
<!--    <van-tabbar-item :icon="cart_icon" :to="cart_url"><slot name="cart"></slot></van-tabbar-item>-->
<!--    <van-tabbar-item :icon="user_icon" :to="user_url"><slot name="user"></slot></van-tabbar-item>-->
</template>

<script>
export default {
  name: "tarBarHome",
  // props: [
  //     'home_icon',
  //     'home_url',
  //     'cate_icon',
  //     'cate_url',
  //     'cart_icon',
  //     'cart_url',
  //     'user_icon',
  //     'user_url',
  // ],
  props: ['bar_url','bar_icon'],
  data() {
    return {
    }
  },
}
</script>

<style scoped>

</style>